<style>
#FOXYAPADMIN fieldset{
	border:1px solid #aaa;
}
#FOXYAPADMIN legend{
	color:#aaa;
}
#FOXYAPADMIN table{
	border-top:1px solid #aaa;
	border-left:1px solid #aaa;
	clear:both;
	width:500px;
}
#FOXYAPADMIN table tr:hover{
	background:{{$highlight}};
	color:#fff;
}
#FOXYAPADMIN table tr.head{
	background:{{$highlight}};
	color:#fff;
	font-weight:bolder;
	text-align:center;
}
#FOXYAPADMIN table tr td{
	padding:2px 4px;
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
}
#FOXYAPADMIN label{
	display:block;
	float:left;
	margin-top:8px;
	text-align:right;
}
</style>
<div id="FOXYAPADMIN">
<span style="float:left; margin:0px 5px 5px 0px">strana: </span>
<ul class="letter_filter">
	{{%loop start page}}
	<li><a id="{{$current_page}}" href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php?a=yapfox&page={{$page}}','setContent')">{{$page}}</a></li>
	{{%loop end}}
</ul>
<br clear="all" />
<div class="area">
<table>
	<tr class="head">
		<td width="5%">&nbsp;</td>
		<td width="10%">YAP</td>
		<td width="10%">FOX</td>
		<td>NAZIV</td>
		<td width="5%">&nbsp;</td>
	</tr>
	{{%loop start red}}
	<tr>
		<td>{{$red}}</td>
		<td>{{$yap}}</td>
		<td>{{$fox}}</td>
		<td>{{$name}}</td>
		<td>
			<input type="button" class="delete" onclick="YapFoxDelete(this)" />
		</td>
	</tr>
	{{%loop end}}
</table>
</div>
<div class="area" style="margin-left:2px;">
	<form action="javascript:void(0)" onsubmit="YapFoxAdd(this)">
		<label for="yap">YAP:</label><input type="text" size="7" maxlength="7" name="yap" id="yap" /><br clear="all" />
		<label for="fox">FOX:</label><input type="text" size="7" maxlength="7" name="fox" id="fox" /><br clear="all" />
		<input type="submit" class="novi" value="novi" />
	</form>
</div>
<div class="area" style="margin-left:2px;">
	<form action="javascript:void(0)" onsubmit="FilterYapFox(this)">
		<fieldset>
			<legend>Filter:</legend>
			<label for="filter_yap">YAP:</label><input value="{{$filter_yap}}" type="text" size="7" maxlength="7" name="filter_yap" id="filter_yap" /><br clear="all" />
			<label for="filter_fox">FOX:</label><input value="{{$filter_fox}}" type="text" size="7" maxlength="7" name="filter_fox" id="filter_fox" /><br clear="all" />
			<input type="submit" value="filter" />
		</fieldset>
	</form>
</div>
</div>